package com.powergisol.gis.model;

import com.vividsolutions.jts.geom.Coordinate;

public  class PointWithIndex {

    private int index;

    private Double x;

    private Double y;

    private Double z;


    public PointWithIndex(Coordinate coordinate, int index) {
        this.x = coordinate.x;
        this.y = coordinate.y;
        this.z = coordinate.z;
        this.index = index;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public Double getX() {
        return x;
    }

    public void setX(Double x) {
        this.x = x;
    }

    public Double getY() {
        return y;
    }

    public void setY(Double y) {
        this.y = y;
    }

    public Double getZ() {
        return z;
    }

    public void setZ(Double z) {
        this.z = z;
    }

    public Coordinate getCoordinate() {
        return new Coordinate(this.x, this.y, this.z);
    }


}
